using System;
using System.Runtime;
using UnityEngine;
using System.Collections;
using System.Runtime.InteropServices;



public enum SAItemEquipType
{
	HEAD = 0,
	BODY,
	RIGHT,
	LEFT,
	GLOVE,
	BELT,
	SHOES,
	RING1,
	RING2,


	COUNT
}



public enum SAItemType
{
	FIST = 0,
	AXE,
	CLUB,
	SPEAR,
	BOW,
	SHIELD,
	HELM,
	ARMOUR,
	
	BRACELET =8,
	MUSIC,
	NECKLACE,
	RING,
	BELT,
	EARRING,
	NOSERING,
	AMULET,
	
	OTHER = 16,
	BOOMERANG,		// 回旋标
	BOUNDTHROW,	// 投掷斧头
	BREAKTHROW,	// 投掷石
	DISH = 20 ,	// 食物
	METAL,
	JEWEL,
	WARES,			//货物
	
	WBELT,			//腰带
	WSHIELD,		//盾
	WSHOES,		//鞋子
	
	WGLOVE,		//手套
	
	ALCHEMIST = 30 ,
	PETHELMET = 31,
	WINGARMOR,
	PETTOOTH,
	
	COUNT
};

[ StructLayout( LayoutKind.Sequential , Pack = 1 ) ]
public struct SAItemData
{
	byte	Item;
	byte	Type;
	byte	Unknow1;
	byte	Unknow2;
	
	int		ID;
	int		Image;
	int		Sell;
	int		Num;
	
	byte	Px;
	byte	Py;
	byte	i;
	byte	n;
};


public class SAItem
{
	public SAItem ()
	{

	}

}


